/*---------------------------------------------------------------------------------------------
 *  Copyright (c) Microsoft Corporation. All rights reserved.
 *  Licensed under the MIT License. See License.txt in the project root for license information.
 *--------------------------------------------------------------------------------------------*/

.monaco-workbench > .activitybar > .content .monaco-action-bar .action-item {
	display: block;
	position: relative;
	margin: 10px 0;
}

.monaco-workbench > .activitybar > .content .monaco-action-bar .action-label {
	display: flex;
	overflow: hidden;
	height: 40px;
	line-height: 40px;
	margin-right: 0;
	padding: 0 0 0 50px;
	box-sizing: border-box;
	background-position: 9px center;
	background-repeat: no-repeat;
	opacity: 0.6;
	font-size: 15px;
	color: white;
	text-shadow: 0 1px 0 rgba(0, 0, 0, 0.8);
}

.monaco-workbench > .activitybar > .content .monaco-action-bar .badge:active:before,
.monaco-workbench > .activitybar > .content .monaco-action-bar .action-item .action-label:focus:before {
	content: "";
	position: absolute;
	top: 4px;
	height: 32px;
	width: 0;
	border-left: 2px solid;
}

.vs .monaco-workbench > .activitybar > .content .monaco-action-bar .badge:active:before,
.vs-dark .monaco-workbench > .activitybar > .content .monaco-action-bar .badge:active:before,
.vs .monaco-workbench > .activitybar > .content .monaco-action-bar .action-item .action-label:focus:before,
.vs-dark .monaco-workbench > .activitybar > .content .monaco-action-bar .action-item .action-label:focus:before {
	border-left-color: #007ACC;
}

.hc-black .monaco-workbench > .activitybar > .content .monaco-action-bar .badge:active:before,
.hc-black .monaco-workbench > .activitybar > .content .monaco-action-bar .action-item .action-label:focus:before {
	border-left-color: #f38518;
}

.monaco-workbench > .activitybar.left > .content .monaco-action-bar .badge:active:before,
.monaco-workbench > .activitybar.left > .content .monaco-action-bar .action-item .action-label:focus:before {
	left: 1px;
}

.monaco-workbench > .activitybar.right > .content .monaco-action-bar .badge:active:before,
.monaco-workbench > .activitybar.right > .content .monaco-action-bar .action-item .action-label:focus:before {
	right: 1px;
}

.monaco-workbench > .activitybar > .content .monaco-action-bar .action-label > .label {
	flex: 1 1 auto;
	flex: 1 1 auto;
	overflow: hidden;
}

.monaco-workbench > .activitybar > .content .monaco-action-bar .action-label > .keybinding {
	overflow: hidden;
	text-overflow: hidden;
	flex: 2 1 auto;
	flex: 2 1 auto;
	text-align: right;
	opacity: 0.5;
	padding: 0 2em 0 1em;
	font-size: 0.8em;
}

.monaco-workbench > .activitybar > .content .monaco-action-bar .action-label:hover {
	text-decoration: none;
}

.monaco-workbench > .activitybar > .content .monaco-action-bar .badge {
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
	width: 50px;
	height: 40px;
}

.monaco-workbench > .activitybar > .content .monaco-action-bar .badge .badge-content {
	position: absolute;
	top: 20px;
	right: 8px;
	font-size: 11px;
	min-width: 8px;
	height: 18px;
	line-height: 18px;
	padding: 0 5px;
	border-radius: 20px;
	text-align: center;
	color: white;
}

.monaco-workbench > .activitybar > .content .monaco-action-bar .action-item .action-label.active,
.monaco-workbench > .activitybar > .content .monaco-action-bar .action-item:hover .action-label {
	opacity: 1;
}

/* Right  aligned */

.monaco-workbench > .activitybar.right > .content .monaco-action-bar .action-label {
	margin-left: 0;
	padding: 0 50px 0 0;
	background-position: calc(100% - 9px) center;
}

.monaco-workbench > .activitybar.right > .content .monaco-action-bar .action-label .label {
	padding-left: 1em;
}

.monaco-workbench > .activitybar.right > .content .monaco-action-bar .action-label > .keybinding {
	text-align: right;
	padding: 0 0 0 2em;
}

.monaco-workbench > .activitybar.right > .content .monaco-action-bar .badge {
	left: auto;
	right: 0;
}

/* High Contrast Theming */
.hc-black .monaco-workbench > .activitybar > .content .monaco-action-bar .action-label,
.hc-black .monaco-workbench > .activitybar > .content .monaco-action-bar .action-label.active {
	opacity: 1;
}

.hc-black .monaco-workbench > .activitybar > .content .monaco-action-bar .action-label:before {
	opacity: 0.6;
	position: absolute;
	top: 4px;
	left: 9px;
	height: 32px;
	width: 32px;
}

.hc-black .monaco-workbench > .activitybar > .content .monaco-action-bar .action-item .action-label.active:before,
.hc-black .monaco-workbench > .activitybar > .content .monaco-action-bar .action-item:hover .action-label:before {
	opacity: 1;
}

.hc-black .monaco-workbench > .activitybar > .content .monaco-action-bar .action-item .action-label.active:before {
	outline: 1px solid #f38518;
}

.hc-black .monaco-workbench > .activitybar > .content .monaco-action-bar.global .action-item .action-label.active:before {
	border: none;
}

.hc-black .monaco-workbench > .activitybar > .content .monaco-action-bar .badge .badge-content {
	background: none;
	background-color: #000;
	border: 1px solid #6FC3DF;
}